﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WoBian.Entities.Interface;
using System.Runtime.Serialization;

namespace WoBian.Entities.Admin
{
    /// <summary>
    /// 系统通用代码
    /// </summary>
    [Serializable]
    public class SystemCode : DbClass
    {
        /// <summary>
        /// 代码ID
        /// </summary>
        [DataMember]
        public string CodeId { get; set; }

        /// <summary>
        /// 代码类型
        /// </summary>
        [DataMember]
        public string CodeType { get; set; }

        /// <summary>
        /// 代码名称
        /// </summary>
        [DataMember]
        public string CodeName { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Remark { get; set; }

        /// <summary>
        /// 是否允许编辑
        /// </summary>
        [DataMember]
        public string EnableEdit { get; set; }

        #region 索引
        public const string CODEID = "CODEID";
        public const string CODENAME = "CODENAME";
        public const string CODETYPE = "CODETYPE";
        public const string REMARK = "REMARK";
        public const string ENBALEEDIT = "ENBALEEDIT";
        #endregion
    }
}
